package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * APP商品大类
 */
@Data
@Table(name = "kc_app_goods_category")
public class BizAppGoodsCategory {
    /*分类id*/
    @Id
    private Integer id;
    /*分类名称*/
    @NotNull(message = "分类名称不能为空")
    private String name;
    /*父级ID*/
    private Integer pid;
    //private String showName
    /*状态*/
    private Integer status;
    /*图片*/
    private String thumb;
    /*bannerId*/
    private Integer bannerId;
}
